<?php
class CallbackMock implements App_BBCode_Callback_CallbackInterface
{
    protected $_options;

    public function __construct($options)
    {
        $this->_options = $options;
    }

    public function handleCode($name, array $params, $content)
    {
        return '<' . $this->_options . '>' . $content . '</' . $this->_options . '>';
    }
}